package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 薪资管理对象 sys_salary
 * 
 * @author ruoyi
 * @date 2022-07-08
 */
public class SysSalary extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 薪水名称 */
    @Excel(name = "薪水名称")
    private String salaryName;

    /** 底薪 */
    @Excel(name = "底薪")
    private Double baseIncome;

    /** 绩效 */
    @Excel(name = "绩效")
    private Double merits;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setSalaryName(String salaryName) 
    {
        this.salaryName = salaryName;
    }

    public String getSalaryName() 
    {
        return salaryName;
    }
    public void setBaseIncome(Double baseIncome) 
    {
        this.baseIncome = baseIncome;
    }

    public Double getBaseIncome() 
    {
        return baseIncome;
    }
    public void setMerits(Double merits) 
    {
        this.merits = merits;
    }

    public Double getMerits() 
    {
        return merits;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("salaryName", getSalaryName())
            .append("baseIncome", getBaseIncome())
            .append("merits", getMerits())
            .toString();
    }
}
